import { View, Text, Button, TouchableOpacity } from 'react-native'
import React from 'react'

export default function App() {
  function doPress(){
    console.log(999);
  }
  return (
    <View>
      <Text>App</Text>
      <Button color='red' title='按钮' onPress={doPress}/>
      <TouchableOpacity activeOpacity={0.6}>
      <Text style={{backgroundColor:"#0aa1ed",margin:10,paddingVertical:15,textAlign:'center',color:'#fff',fontSize:16,borderRadius:6,}}>自定义按钮</Text>
      </TouchableOpacity>
    </View>
  )
}